package com.jeeplus.modules.statistics.mapper;

import com.jeeplus.modules.statistics.model.domain.HotBussinessCount;
import com.jeeplus.modules.statistics.model.query.HomeStatisticsQuery;
import com.jeeplus.modules.statistics.model.query.StatisticsQuery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 热度业务分析
 *
 * @author hanKongBin
 * @version 1.0
 * @date 2021/2/27 14:09
 */
@Mapper
@Repository
public interface HotBusinessMapper {

    /**
     * 统计查询
     *
     * @param query
     * @return
     */
    List<HotBussinessCount> statistics(StatisticsQuery query);

    /**
     * 主页统计查询
     *
     * @param query
     * @return
     */
    List<HotBussinessCount> homeStatistics(HomeStatisticsQuery query);
}
